var Session = {
  get: function (session) {
    return wx.getStorageSync(session) ;
  },

  set: function (session, value) {
    wx.setStorageSync(session, value);
  },

  clear: function (session,value) {
    wx.removeStorageSync(session);
  },

  allClear: function(){
    wx.clearStorage();
  }
};

module.exports = Session;